package cn.csc.module.order.controller.admin.item.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 订单项 Excel VO
 *
 * @author liuchuang
 */
@Data
public class OrderItemExcelVO {

    @ExcelProperty("订单项ID")
    private BigInteger id;

    @ExcelProperty("店铺id")
    private BigInteger shopId;

    @ExcelProperty("订单id")
    private BigInteger orderId;

    @ExcelProperty("分类id")
    private BigInteger categoryId;

    @ExcelProperty("产品ID")
    private BigInteger spuId;

    @ExcelProperty("产品SkuID")
    private BigInteger skuId;

    @ExcelProperty("用户Id")
    private BigInteger userId;

    @ExcelProperty("购物车产品个数")
    private Integer count;

    @ExcelProperty("产品名称")
    private String spuName;

    @ExcelProperty("sku名称")
    private String skuName;

    @ExcelProperty("产品主图片路径")
    private String pic;

    @ExcelProperty("单个orderItem的配送类型1.快递物流(默认）,2.送货上门,3.自提")
    private Byte deliveryType;

    @ExcelProperty("加入购物车时间")
    private LocalDateTime shopCartTime;

    @ExcelProperty("产品价格")
    private BigDecimal price;

    @ExcelProperty("商品总金额")
    private BigInteger spuTotalAmount;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
    @ExcelProperty("支付类型，0微信支付、1购物卡支付、2结合支付")
    private BigInteger payType;
    @ExcelProperty("支付类型，0微信支付、1购物卡支付、2结合支付")
    private BigDecimal cardPayAmount;
}
